body {
  background-color: #f5f5f5;
}

dd,
dl,
h1,
h3,
h4,
p {
  padding: 0;
  margin: 0;
}

.bread {
  display: flex;
  width: 100%;
  height: 72px;
  margin-left: 10px;
  background-color: #f5f5f5;

  .container {
    width: 1240px;
    height: 100%;
    line-height: 72px;

    .shouye {
      color: #666;
      font-size: 14px;
    }

    i {
      font-size: 19px;
    }

    .jujia {
      font-size: 14px;
      color: #333;
    }
  }
}

.nav_swiper {
  .content {
    .swiper {
      .swiper-button-prev {
        margin-left: 0px;
      }
    }
  }
}

// main
.sub-list {
  width: 1240px;
  height: 260px;
  margin-top: 20px;
  background-color: rgb(255, 255, 255);

  h3 {
    font-size: 28px;
    color: rgb(102, 102, 102);
    font-weight: 400;
    text-align: center;
    line-height: 100px;
  }

  ul {
    // display: flex;
    padding: 0px 32px;
    flex-wrap: wrap;
    min-height: 160px;

    li {
      width: 168px;
      height: 160px;
      display: list-item;
      float: left;
      padding: 0;

      a {
        text-align: center;
        display: block;
        font-size: 16px;
        color: #333;
        outline: none;

        &:hover {
          color: #27ba9b;
        }

        img {
          width: 100px;
          height: 100px;
        }

        p {
          line-height: 40px;
        }
      }
    }
  }
}

.ref-goods {
  width: 1240px;
  height: 429.4px;
  background-color: rgb(255, 255, 255);
  margin-top: 20px;
  position: relative;

  .head {
    h3 {
      font-size: 28px;
      color: rgb(102, 102, 102);
      font-weight: 400;
      text-align: center;
      line-height: 100px;
    }

    .tag {
      text-align: center;
      color: rgb(153, 153, 153);
      font-size: 20px;
      position: relative;
      top: -20px;
    }

    .xtx-more {
      position: absolute;
      top: 20px;
      right: 20px;

      &:hover span {
        color: #27ba9b;
      }

      &:hover i {
        color: #27ba9b;
      }

      span {
        font-size: 16px;
        vertical-align: middle;
        margin-right: 4px;
        color: #999;
      }

      i {
        font-size: 18px;
        vertical-align: middle;
        position: relative;
        top: 2px;
        color: #ccc;
      }
    }
  }
  .body {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0px 65px 30px;
    .goods-item {
      display: block;
      flex: 1;
      width: 220px;
      padding: 20px 30px;
      text-align: center;
      transition: all 0.5s;
      &:hover {
        margin-top: -5px;
        box-shadow: 0 5px 10px rgba(51, 51, 51, 0.55);
      }
      img {
        width: 160px;
        height: 160px;
      }
      .name {
        color: #000;
        font-size: 16px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        padding-top: 10px;
      }
      .desc {
        color: #999;
        height: 29px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        padding-top: 10px;
      }
      .price {
        color: #cf4444;
        font-size: 20px;
        padding-top: 10px;
      }
    }
  }
}

// footer
.footer {
  height: 638px;
  width: 100%;

  // background-color: aqua;
  .footer-up {
    display: flex;
    width: 1240px;
    height: 290px;
    padding: 60px 0 40px 25px;

    // background-color: blueviolet;
    dl {
      height: 190px;
      text-align: center;
      padding: 0 63px;
      border-right: 1px solid #f2f2f2;
      color: #999;

      &:first-child {
        padding-left: 0;
      }

      &:last-child {
        padding-right: 0;
        border-right: 0px solid #f2f2f2;
      }

      &:last-child dd {
        display: block;
        height: 30px;
        line-height: 30px;
        width: 190px;
        float: unset;
        margin: 0;
        padding: 0;
        margin-right: 10px;
        border: 0;
      }

      &:last-child dt {
        margin-bottom: 50px;
        margin-right: 10px;
      }

      dt {
        line-height: 1;
        font-size: 18px;
      }

      dd {
        margin: 36px 12px 0 0;
        float: left;
        width: 92px;
        height: 92px;
        padding-top: 10px;
        text-align: center;
        border: 1px solid #ededed;

        &:hover i {
          color: #27ba9b;
        }

        i {
          display: block;
          font-size: 30px;
          margin-top: 12px;
          margin-bottom: 5px;
        }

        img {
          width: 72px;
          height: 72px;
        }

        span {
          display: block;
          font-size: 14px;
        }

        .tip {
          display: block;
          width: 92px;
          height: 34px;
          line-height: 34px;
          border-radius: 5%;
          margin-top: 6px;
          font-size: 14px;
          color: #fff;
          background-color: #27ba9b;
        }

        .phone {
          font-size: 18px;
          font-weight: bold;
          color: #666666;
        }

        small {
          font-size: 16px;
        }
      }
    }
  }

  .footer-down {
    width: 100%;
    height: 348px;
    background-color: #333333;

    .slogan {
      width: 1240px;
      height: 178px;
      line-height: 58px;
      padding: 60px 30px;
      border-bottom: 1px solid #434343;
      display: flex;
      justify-content: space-between;

      // background-color: violet;
      a {
        height: 58px;
        line-height: 58px;
        color: #fff;
        font-size: 28px;
        padding: 0 50px;

        i {
          font-size: 50px;
          vertical-align: middle;
          margin-right: 10px;
          font-weight: 100;
        }

        span {
          vertical-align: middle;
          text-shadow: 0 0 1px #333;
        }
      }
    }

    .copyright {
      height: 170px;
      padding-top: 40px;
      text-align: center;
      color: #999;
      font-size: 15px;

      p {
        line-height: 1;
        margin-bottom: 20px;

        a {
          color: #999;
          line-height: 1;
          padding: 0 10px;
          border-right: 1px solid #999;
        }
      }
    }
  }
}
